import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//导入axios对象，配置Vue原型
import axios from "./utils/request";
Vue.prototype.$axios =axios;

// ElementUI配置
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//配置echarts 
import * as echarts from "echarts";
Vue.prototype.$echarts = echarts;

// 配置vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
